﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Root.master" AutoEventWireup="true" CodeFile="myInfo.aspx.cs" Inherits="myInfo" %>

<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxFormLayout" TagPrefix="dx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Content" runat="Server">
    <dx:ASPxFormLayout ID="ASPxFormLayout1" runat="server">
        <Items>
            <dx:LayoutGroup Caption="Layout Group" ShowCaption="False">
                <Items>
                    <dx:LayoutItem Caption="Ф.И.О.">
                        <LayoutItemNestedControlCollection>
                            <dx:LayoutItemNestedControlContainer runat="server" SupportsDisabledAttribute="True">
                                <dx:ASPxTextBox ID="ed_fio" runat="server" Width="250px" ReadOnly="True">
                                </dx:ASPxTextBox>
                            </dx:LayoutItemNestedControlContainer>
                        </LayoutItemNestedControlCollection>
                    </dx:LayoutItem>
                    <dx:LayoutItem Caption="Организации">
                        <LayoutItemNestedControlCollection>
                            <dx:LayoutItemNestedControlContainer runat="server" SupportsDisabledAttribute="True">
                                <dx:ASPxListBox ID="lst_kontr" runat="server" Width="250px" ReadOnly="True">
                                </dx:ASPxListBox>
                            </dx:LayoutItemNestedControlContainer>
                        </LayoutItemNestedControlCollection>
                    </dx:LayoutItem>
                    <dx:LayoutGroup Caption="Диспетчер">
                        <Items>
                            <dx:LayoutItem Caption="Пароль (диспетчер)" ShowCaption="False">
                                <LayoutItemNestedControlCollection>

                                    <dx:LayoutItemNestedControlContainer runat="server" SupportsDisabledAttribute="True">
                                        <table width="327px">
                                            <tr>
                                                <td>
                                                    <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="Логин  (диспетчер)">
                                                    </dx:ASPxLabel>
                                                </td>
                                                <td>
                                                    <dx:ASPxTextBox ID="ed_loginDisp" runat="server" Width="174px">
                                                        <ValidationSettings ErrorDisplayMode="ImageWithTooltip" ErrorTextPosition="Left">
                                                            <RequiredField IsRequired="True" />
                                                        </ValidationSettings>
                                                    </dx:ASPxTextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <dx:ASPxLabel ID="ASPxLabel2" runat="server" Text="Пароль (диспетчер)">
                                                    </dx:ASPxLabel>
                                                </td>
                                                <td>
                                                    <dx:ASPxTextBox ID="ed_passNO" runat="server" ClientInstanceName="ed_passNO" Width="174px">
                                                        <ValidationSettings ErrorDisplayMode="ImageWithTooltip" ErrorTextPosition="Left">
                                                            <RequiredField IsRequired="True" />
                                                        </ValidationSettings>
                                                    </dx:ASPxTextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td></td>
                                                <td align="right">
                                                    <dx:ASPxButton ID="ASPxButton1" runat="server" AutoPostBack="False" ClientInstanceName="btn_save"
                                                        OnClick="ASPxButton1_Click" Text="Изменить" UseSubmitBehavior="False">
                                                    </dx:ASPxButton>
                                                </td>
                                            </tr>
                                        </table>
                                    </dx:LayoutItemNestedControlContainer>
                                </LayoutItemNestedControlCollection>
                            </dx:LayoutItem>
                        </Items>
                    </dx:LayoutGroup>

                    <dx:LayoutGroup Caption="Суон Комфорт">
                        <Items>
                            <dx:LayoutItem Caption="Пароль (суон комфорт)" ShowCaption="False">
                                <LayoutItemNestedControlCollection>

                                    <dx:LayoutItemNestedControlContainer ID="LayoutItemNestedControlContainer1" runat="server" SupportsDisabledAttribute="True">
                                        <table width="327px">
                                            <tr>
                                                <td>
                                                    <dx:ASPxLabel ID="lbl_sk" runat="server" Text="Пароль (суон комфорт)">
                                                    </dx:ASPxLabel>
                                                </td>
                                                <td>
                                                    <dx:ASPxTextBox ID="ed_passSK" runat="server" ClientInstanceName="ed_passSK" Width="174px">
                                                        <ValidationSettings ErrorDisplayMode="ImageWithTooltip" ErrorTextPosition="Left">
                                                            <RequiredField IsRequired="True" />
                                                        </ValidationSettings>
                                                    </dx:ASPxTextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td></td>
                                                <td align="right">
                                                    <dx:ASPxButton ID="btn_SaveSK" runat="server" AutoPostBack="False" ClientInstanceName="btn_saveSK"
                                                        Text="Изменить" UseSubmitBehavior="False" OnClick="btn_SaveSK_Click">
                                                    </dx:ASPxButton>
                                                </td>
                                            </tr>
                                        </table>
                                    </dx:LayoutItemNestedControlContainer>
                                </LayoutItemNestedControlCollection>
                            </dx:LayoutItem>
                        </Items>
                        </dx:LayoutGroup>
                </Items>
            </dx:LayoutGroup>
        </Items>
    </dx:ASPxFormLayout>
</asp:Content>

